package org.apache.struts2.plugin.json.model;

/**
 * Definition of the JSON String type.
 * @author VERDOÏA Laurent <verdoialaurent@gmail.com>
 */
public class JSONString extends JSONValue<String> {

    /**
     * Wrapper constructor for {@link JSONValue#JSONValue}
     * @see JSONValue#JSONValue
     */
    public JSONString(String data) {
        super(data);
    }

    /**
     * Wrapper constructor for {@link JSONValue#JSONValue(boolean)}
     * @see JSONValue#JSONValue
     */
    public JSONString(boolean nullity) {
        super(nullity);
    }

    /**
     * Wrapper constructor for {@link JSONValue#JSONValue()}
     * @see JSONValue#JSONValue
     */
    public JSONString() {
        super();
    }

    /**
     * @return <code>new String()</code>
     */
    @Override
    protected String instanciateData() {
        return new String();
    }
}
